package myspring.entity;

import lombok.Data;
import myspring.annotation.Autowired;
import myspring.annotation.Component;
import myspring.annotation.Qualifier;
import myspring.annotation.Value;

@Component
@Data
public class Account {
    @Value("1")
    private Integer id;

    @Value("张三")
    private String name;

    @Value("22")
    private Integer age;

    @Autowired
    //@Qualifier("asq")
    private Order order;

}
